package homework;

public class Test1 {
    public static void main(String[] args) {
        MyTicket mt = new MyTicket();
        Thread t1 = new Thread(mt,"窗口一");
        Thread t2 = new Thread(mt,"窗口二");
        t1.start();
        t2.start();
    }
}
